﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Register src="../../ascx/BDaySelection.ascx" tagname="BDaySelection" tagprefix="uc3" %>
<%@ Register src="../../ascx/CitySelection.ascx" tagname="CitySelection" tagprefix="uc4" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="AjaxControlTool" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {

    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .style5
        {
            width: 474px;
            height: 100px;
        }
        .style2
        {
            width: 474px;
        }
        .style6
        {
            color: #FFFFFF;
            font-weight: bold;
        }
        .style7
        {
            width: 150px;
            height: 100px;
        }
        .style8
        {
            width: 150px;
        }
        </style>
    </head>

<body>
    <div>
    </div>
    <form id="form1" runat="server">
    <table align="center" border="0" height="327" style="width: 773px">
        <tr>
            <td align="right" background="../../pic/menu.png" class="style6" height="30" colspan="2">
                联系我们</td>
        </tr>
        <tr>
            <td class="style7" bgcolor="White">
                &nbsp;</td>
            <td class="style5" bgcolor="White">
                这里可以用Google的广告</td>
        </tr>
        <tr>
            <td class="style8" bgcolor="White">
                &nbsp;</td>
            <td class="style2" bgcolor="White">
                <div>
                    <h2>
                        免费开通XX网帐号:</h2>
                    <dl>
                        <dd>
                            注册邮箱：<asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                ErrorMessage="邮箱地址无效" ControlToValidate="txtEmail" 
                                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                                ValidationGroup="regGroup" ></asp:RegularExpressionValidator>
                        </dd>
                        <dd>
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:HyperLink ID="HyperLink1" runat="server" 
                                NavigateUrl="http://mail.google.com/mail?hl=zh-CN">推荐使用Google Mail</asp:HyperLink>
                        </dd>
                    </dl>
                    <dl>
                        <dd>
                            创建密码：<asp:TextBox ID="txtPswPre" runat="server" TextMode="Password"></asp:TextBox>
                        </dd>
                    </dl>
                    <dl>
                        <dd>
                            确认密码：<asp:TextBox ID="txtPswVal" runat="server" TextMode="Password"></asp:TextBox>
                            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                                ErrorMessage="两次密码不一致" ControlToCompare="txtPswPre" 
                                ControlToValidate="txtPswVal" ValueToCompare="regGroup"></asp:CompareValidator>
                        </dd>
                    </dl>                    <dl>
                        <dd>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            性别：<asp:RadioButton ID="RadioButton1" runat="server" Text="男" Checked="True" 
                                GroupName="sexSelection" />
                            <asp:RadioButton ID="RadioButton2" runat="server" Text="女" 
                                GroupName="sexSelection" />
                        </dd>
                    </dl>
                    <dl>
                        <dd>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            生日：<uc3:BDaySelection ID="BDaySelection1" runat="server" />
                        </dd>
                    </dl>
                    <dl>
                        <dd>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 身份：<asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem>请选择</asp:ListItem>
                                <asp:ListItem>已经工作了</asp:ListItem>
                                <asp:ListItem>正在上大学</asp:ListItem>
                                <asp:ListItem>正在上中学</asp:ListItem>
                                <asp:ListItem>其他身份</asp:ListItem>
                            </asp:DropDownList>
                        </dd>
                    </dl>
                    <dl>
                        <dd>
                            &nbsp;我现在在：<uc4:CitySelection ID="CitySelection1" runat="server" />
                        </dd>
                    </dl>
                    <dl>
                    <dd>
                    </dd>
                    <dd style="text-align: center; width: 265px;">
                        <asp:Button ID="btnReg" runat="server" Text="注册" BackColor="#5D7B9D" 
                  ForeColor="White" Height="37px" Width="92px" ValidationGroup="regGroup" 
                            PostBackUrl="~/Home/Calendar"/>
                    </dd>
                    </dl>
                </div>
            </td>
        </tr>
        <tr>
            <td class="style8" bgcolor="White">
                &nbsp;</td>
            <td class="style2" bgcolor="White">
                &nbsp;</td>
        </tr>
    </table>
    <hr />
    <div>
    </div>
    <div>
    
        <br />
    
    </div>
    </form>
</body>
</html>
